<%@page import="ipartek.hobetuz.bean.Alumno"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Mostrar alumno creado</title>
	<link rel='stylesheet' type='text/css' href='css/reset.css'>
	<link rel='stylesheet' type='text/css' href='css/structure.css'>
</head>
<body>
	<% if(request.getAttribute("alumno") != null){ 
		Alumno alumno = (Alumno)request.getAttribute("alumno");
	%>
		<h1>ALUMNO</h1>
		<div class="boxBody">
			<label>DNI:</label> <%=alumno.getDni() %>
			<br>
			<label>Nombre:</label> <%=alumno.getNombre() %>
			<br>
			<label>Apellido1:</label> <%=alumno.getApellido1() %>
			<br>
			<label>Apellido2:</label> <%=alumno.getApellido2() %>
			<br>
			<label>Edad:</label> <%=alumno.getEdad() %>
			<br>
			<label>Email:</label> <%=alumno.getDireccion() %>
			<br>
		</div>
	<%} %>  
</body>
</html>